package com.chickenhouse.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chickenhouse.pojo.Information;
import com.chickenhouse.repository.InformationRepository;
import com.chickenhouse.service.InformationService;
@Service
public class InformationServiceImpl implements InformationService  {
	@Resource
	private InformationRepository informationRepository;
	//查询 关于所有
	public List<Information> queryAll() {
		return informationRepository.queryAll();
	}
	//编辑 关于
	public int updateInformation(Information information) {
		return informationRepository.updateInformation(information);
	}

}
